<template>
	<view class="moreT" >
		<text class="title">{{titleName}}</text>
		<!-- <view class="" v-if="type===1" @click="enterMore()">
			<text class="font12">更多</text>
			<u-icon name="arrow-right" color="#ccc" size="24"></u-icon>
		</view>
		<view class="" v-else @click="change()">
			<text class="font12">换一换  </text>
			<u-icon name="reload" color="#ccc" size="24"></u-icon>
		</view> -->
	</view>
</template>

<script>
	
	export default {
		props:{
			titleName:String,
			type:Number,
			required:true
		},
		data() {
			return {
				
			}	
		},
		computed: {
			
			
		},
		
		methods: {
			enterMore(){
				
				uni.navigateTo({
					url:'../enter/moreGoods?title=' + this.titleName
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.moreT{
		width: 100%;
		height: 60rpx;
		margin: 20rpx 0;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		.title{
			font-size:30rpx;
			font-weight: bold;
		}
		.font12{
			font-size: 22rpx;
			color: #999;
			margin-right: 8rpx;
		}
	}
</style>
